package com.neusoft.ch6.demo;

public class Monitor2 extends Student {
	// 属性
	// title
	private String stuTitle;

	// 行为
	public void collectHomeWork() {
		System.out.println("交作业了~~");
	}

	public String getStuTitle() {
		return stuTitle;
	}

	public void setStuTitle(String stuTitle) {
		this.stuTitle = stuTitle;
	}
	
	
	
}
